package com.mouren.apidemo;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;

import com.dflzm.apidemo.R;
import com.mouren.apidemo.manager.CarManager;

import butterknife.BindView;
import butterknife.ButterKnife;

public class JniActivity extends AppCompatActivity {

    @BindView(R.id.tv_test)
    TextView tvTest;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jni);

        ButterKnife.bind(this);
        tvTest.setText(CarManager.getCarInfo());
        CarManager.setCarSwitch(true);
        Toast.makeText(this,Boolean.toString(CarManager.getCarSwitch()),Toast.LENGTH_LONG).show();
    }
}